package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author 刘旭超
 * @date 2022年07月13日 11:17
 * @Description
 */
@EqualsAndHashCode(callSuper = true)
//@TableName("carrier_cooperate_info")
@TableName("carrier_assistant_enterprise_ref")
@Data
public class CarrierCooperateInfoPO extends BasePO<CarrierCooperateInfoPO> {

    @ApiModelProperty(value = "司机id")
    @TableField("assistant_id")
    private Long carrierId;

    @ApiModelProperty(value = "企业ID")
    @TableField("enterprise_id")
    private String enterpriseId;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterprise_name")
    private String enterpriseName;

    @ApiModelProperty(value = "统一社会信用代码")
    @TableField("unified_social_credit_code")
    private String unifiedSocialCreditCode;

    @ApiModelProperty(value = "辅助内容，1：运力调拨，2：司机服务，3：车辆维修")
    @TableField("assist_content")
    private String cooperateType;

    @ApiModelProperty(value = "合作证明照片")
    @TableField("cooperate_prove_pic")
    private String cooperateProvePic;

    @ApiModelProperty(value = "是否初始合作企业，0：否，1：是")
    @TableField("is_init")
    private Integer isInit;

    @ApiModelProperty(value = "是否入驻,0未入驻 1已入驻")
    @TableField("enter_flag")
    private Integer enterFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除,0:正常,1:删除")
    @TableField("deleted")
    private Integer deleted;

    @ApiModelProperty(value = "是否合同有效期内0-不在 1-在")
    @TableField("validity_flag")
    private Integer validityFlag;

}
